package com.operator;

public class operatorDemo3 {
    public static void main(String[] args) {
        // 目标: 符号做连接的识别
        int a = 5;
        System.out.println("abc" + 'a');
        System.out.println("abc" + a);
        System.out.println(5 + a);
        System.out.println("abc" + 5 + a);
        System.out.println(5 + "abc" + 5);
        System.out.println(a + "abc");
        System.out.println(a + "a"); // 102
    }
}
